{include file='material/base/header' /}
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>耗材入库</h5>
            </div>
            <div class="ibox-content">
                <form method="post" action="into.html?Id={$purchase.Id}" class="form-horizontal" id="valid_form">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">购置表编号:</label>
                        <div class="col-sm-10">
                            <input type="text" value="{$purchase.Id}" class="form-control" disabled>
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">耗材名称:</label>
                        <div class="col-sm-10">
                            <input type="text" value="{$purchase.material_name}" class="form-control" disabled>
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>

                    <div class="form-group">
                        <label class="col-sm-2 control-label">耗材型号:</label>
                        <div class="col-sm-10">
                            <input type="text" value="{$purchase.material_model}" class="form-control" disabled>
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">应购数量:</label>
                        <div class="col-sm-10">
                            <input type="number" value="{$purchase.material_num}" class="form-control" disabled>
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">单价:</label>
                        <div class="col-sm-10">
                            <input type="number" value="" name="unit_price" step="0.01" class="form-control">
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">实际数量:</label>
                        <div class="col-sm-10">
                            <input type="number" value="" name="get_num" class="form-control">
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">采购时间:</label>
                        <div class="col-sm-10">
                            <input type="datetime-local" value="" name="purchase_time" class="form-control">
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">采购人:</label>
                        <div class="col-sm-10">
                            <input type="text" value="{$user.name}" name="purchaser" class="form-control">
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">备注:</label>
                        <div class="col-sm-10">
                            <textarea type="text" name="comment" class="form-control">{$purchase.comment}</textarea>
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <div class="col-sm-4 col-sm-offset-2">
                            <button class="btn btn-primary" type="submit">入库</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
{include file='material/base/footer' /}